package 软件工程实验三.A1.A14.pay;//Source file: E:\\Projects\\RationRoseProject\\GenerateCode\\Credit.java


import java.util.Date;

public class Credit extends Payment
{
   private String number;
   private String type;
   private Date expireDate;

   public Credit(String number, String type, Date expireDate) {
      this.number = number;
      this.type = type;
      this.expireDate = expireDate;
   }

   /**
    * @roseuid 6719EB7003A8
    */
   public Credit() 
   {
    
   }


   @Override
   public void pay(){
      System.out.println("信用卡支付成功，金额为：" + super.getAmount());   }
}
